package com.xinyu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author: XinYu
 * @since 2025-02-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_user_site")
@ApiModel(value="TbUserSite对象", description="")
public class UserSite implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer userId;

    private Integer siteId;

    private String remark;

    @TableField(exist = false)
    private User user;

    public UserSite(Integer userId, Integer siteId) {
        this.userId = userId;
        this.siteId = siteId;
    }
}
